﻿namespace GoodAdmin.CodeGenerator;

/// <summary>
/// 代码生成基础信息
/// </summary>
[SugarTable("CodeGenData")]
public class CodeGenData : BaseEntity
{
    /// <summary>
    /// 名称
    /// </summary>
    [SugarColumn(ColumnDescription = "名称", Length = 32)]
    public virtual string Name { get; set; }    
    /// <summary>
    /// 编码
    /// </summary>
    [SugarColumn(ColumnDescription = "编码", Length = 32)]
    public virtual string Code { get; set; }
    /// <summary>
    /// 数据库ID
    /// </summary>
    [SugarColumn(ColumnDescription = "数据库ID", Length = 32)]
    public string ConfigId { get; set; }
    /// <summary>
    /// 类型
    /// list列表,flow流程,simple：简易生成代码
    /// </summary>
    [SugarColumn(ColumnDescription = "类型",Length =8)]
    public virtual string Type { get; set; }
    /// <summary>
    /// 命名空间
    /// </summary>
    [SugarColumn(ColumnDescription = "命名空间", Length = 64)]
    public virtual string NameSpace { get; set; }
    /// <summary>
    /// 分类
    /// </summary>
    [SugarColumn(ColumnDescription = "分类", Length = 32)]
    public virtual string Category { get; set; }
    /// <summary>
    /// 描述
    /// </summary>
    [SugarColumn(ColumnDescription = "描述", Length = 256)]
    public string Description { get; set; }    
}

